package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.dtos.WmQuerySensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;
import io.swagger.models.auth.In;

public interface WmSensitiveService extends IService<WmSensitive> {
    /**
     * 功能描述：敏感词分页查询
     *
     * @param wmSensitiveDto
     * @return {@link ResponseResult }
     * @author sungang
     * @date 2024/01/25  10:02
     */

    ResponseResult querySensitives(WmQuerySensitiveDto wmSensitiveDto);

    /**
     * 功能描述：添加敏感词
     *
     * @param wmSaveSensitiveDto
     * @return {@link ResponseResult }
     * @author sungang
     * @date 2024/01/25  11:12
     */

    ResponseResult saveSensitives(WmSensitiveDto wmSaveSensitiveDto);

    /**
     * 功能描述：删除敏感词
     *
     * @param id
     * @return {@link ResponseResult }
     * @author sungang
     * @date 2024/01/25  11:35
     */

    ResponseResult deleteSensitives(Integer id);

    ResponseResult updateSensitives(WmSensitiveDto wmSensitiveDto);
}
